Part Number Hot Search : 
SMBJ33 1N538 0EVKI KBL602 71C10 IRL530NS AAT3697 LS5022
Product Description
Full Text Search
 

To Download MAX44004GDT Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  max44004 digital ambient light sensor 1 typical application circuit 19-5997; rev 0; 5/12 ordering information appears at end of data sheet. for related parts and recommended products to use with this part, refer to www.maxim-ic.com/max44004.related . evaluation kit available general description the max44004 is a wide dynamic range, low- power ambient light sensor (als) ideal for many light sensing applications: tablets, displays, accessories, medical devices, and light management systems. the on-chip ambient sensor has the power to measure the exact visible light from 0.03 lux to 65,000 lux and com - municate through an i 2 c digital communication bus. the ic has patented sensors, filters, and circuitry to mimic the human eye response. with on-chip calibration registers, it performs the same in different light conditions (i.e., fluo - rescent, incandescent). the interrupt pin minimizes the need of constant polling of the device, freeing up micro - controller resources for efficient communication and thus reducing overall power consumption. the part-to-part matching is optimized by proprietary maxim process to speed up end-product development time. the ic can operate from a v dd of 1.7v to 3.6v, including both supply and i 2 c times. it consumes just 5a operat - ing current. applications tablets and netbooksdisplays, tvs, projectors digital lighting management medical devices industrial automation benefits and features s consumes low power ? 5a supply current ? interrupt pin delivers efficient communication s high sensitivity ? 0.03 lux sensitivity s easy to design ? 1.7v to 3.6v supply voltage ? tight part-to-part variation s reliable light sensing ? perfect rejection of 50hz/60hz noise ? adjustable visible and infrared sensor gain s tiny, 2mm x 2mm x 0.6mm otdfn package s -40c to +105c temperature range vis + ir (als ) ir (als ) gnd 14-bit 14-bit i 2 c micro- controller scl sda int max44004 gnd a0 v dd v dd als pga als pga for pricing, delivery, and ordering information, please contact maxim direct at 1-888-629-4642, or visit maxim?s website at www.maxim-ic.com. downloaded from: http:///
2 max44004 digital ambient light sensor all pins to gnd .................................................... -0.3v to +4.0v output short-circuit current duration ....................... continuous continuous input current into any terminal?? ............ q 20ma continuous power dissipation otdfn (derate 11.9mw/ n c above +70 n c) ................. 953mw operating temperature range ........................ -40 n c to +105 n c soldering temperature (reflow) ...................................... +260 n c absolute maximum ratingsstresses beyond those listed under ?absolute maximum ratings? may cause permanent damage to the device. these are stress ratings only, and functional opera - tion of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. electrical characteristics (v dd = 1.8v, t a = -40 n c to +105 n c, t a = +25 n c, unless otherwise noted.) (note 1) parameter symbol conditions min typ max units ambient light receiver characteristics maximum ambient light sensitivity fluorescent light (note 2) 0.03 lux/ lsb ambient light saturation level 65,535 lux gain error green led 538nm response, t a = +25 n c (note 2) 15 % light source matching fluorescent/incandescent light 10 % infrared transmittance 850nm vs. 538nm, t a = +25 n c 0.5 % ultraviolet transmittance 363nm vs. 538nm, t a = +25 n c 2 % dark current level 100ms conversion time, 0 lux, t a = +25 n c 0 count adc conversion time 14-bit resolution, has 50hz/60hz rejection 100 ms 12-bit resolution 25 10-bit resolution 6.25 8-bit resolution 1.56 adc conversion time accuracy t a = +25 n c 0.7 % t a = -40 n c to +105 n c 6 power supplypower-supply voltage v dd 1.7 3.6 v quiescent current is 5 10 f a software shutdown current i shdn t a = +25 n c 0.1 0.3 f a t a = -40 n c to +105 n c 0.6 power-up time t on 100 ms downloaded from: http:///
3 max44004 digital ambient light sensor note 1: the device is 100% production tested at t a = +25 n c. temperature limits are guaranteed by design. note 2: guaranteed by design, green 538nm led chosen for production so that the ic responds to 100 lux fluorescent light with 100 lux. electrical characteristics (continued)(v dd = 1.8v, t a = -40 n c to +105 n c, t a = +25 n c, unless otherwise noted.) (note 1) parameter symbol conditions min typ max units digital characteristics?sda, scl, int , a0 output low voltage sda, int v ol i sink = 6ma 0.06 0.4 v int leakage current t a = +25 n c 0.01 1000 na sda, scl, a0 input current 0.01 1000 na i 2 c input low voltage v il_i2c sda, scl 0.4 v i 2 c input high voltage v ih_i2c sda, scl 1.6 v i 2 c input low voltage v il_i2c a0 0.3 v i 2 c input high voltage v ih_i2c a0 v dd - 0.3 v input capacitance sda, scl 3 pf i 2 c timing characteristics serial clock frequency f scl 400 khz bus free time between stop and start t buf 1.3 f s hold time (repeated) start condition t hd,sta 0.6 f s low period of the scl clock t low 1.3 f s high period of the scl clock t high 0.6 f s setup time for a repeated start t su.sta 0.6 f s data hold time t hd,dat 0 0.9 f s data setup time t su,dat 100 ns sda transmitting fall time t f i sink p 6ma; t r and t f between 0.3 x v dd and 0.7 x v dd 100 ns setup time for stop condition t su,sto 0.6 f s pulse width of suppressed spike t sp 0 50 ns downloaded from: http:///
4 max44004 digital ambient light sensor typical operating characteristics (v dd = 1.8v, t a = -40 n c to +85 n c, unless otherwise noted. all devices are 100% production tested at t a = +25 n c. temperature limits are guaranteed by design.) spectrum response max44004 toc01 wave length (nm) normalized output 970 870 770 670 570 470 370 20 40 60 80 100 120 0 270 1070 green channelred channel cie curve supply current vs. supply voltage vs. temperature max44004 toc04 supply voltage (v) supply current (a) 3.5 3.3 2.9 3.1 2.1 2.3 2.5 2.7 1.9 1 2 3 4 5 6 7 8 9 10 0 1.7 3.7 t a = -40c t a = +25c t a = +85c t a = +105c darkroom condition lux 10k 1k 100 10 1 100k supply current vs. lux max44004 toc06 30 0 supply current (a) 5 10 15 20 25 output error vs. temperature max44004 toc05 temperature (c) counts (units) 85 60 35 10 -15 1 2 3 4 5 6 7 8 9 10 11 0 -40 110 darkroom conditionv dd = 1. 7v to 3. 6v output low voltage vs. sink current sink current (ma) output low voltage (v) 20 10 51 5 20 40 60 80 100 120 140 160 180 0 max44004 toc07 the data was taken onthe interrupt pin light sensitivity vs. lux level max44004 toc02 reference meter reading (lux) adc count 900 800 600 700 200 300 400 500 100 200 400 600 800 1000 1200 1400 1600 fluorescent incandescent 1800 0 0 1000 alstim[1:0] = 00 alspga[1:0] = 10 radiation pattern max44004 toc03 luminosity angle () relative sensitivity (% from 0) 40 60 80 30 10 20 -60 -50 -40 -30 -20 -10 0 -80 -70 10 20 30 40 50 60 70 80 90 100 0 -90 50 70 90 rotated with axis between pin 1/2/3 and 4/5/6 downloaded from: http:///
5 max44004 digital ambient light sensor pin description pin configuration pin name function 1 v dd power supply 2 gnd ground 3 a0 address select 4 int active-low interrupt 5 scl i 2 c clock 6 sda i 2 c data ? ep exposed pad. ep is internally connected to gnd. ep must be connected to gnd. v dd sda 6 1 gnd scl 5 2 a0 ep 4 3 top view max44004 int + downloaded from: http:///
6 max44004 digital ambient light sensor detailed description the max44004 is a wide-dynamic-range als. the die is placed inside an optically transparent (odfn) package. a photodiode array inside the device converts the light to a current, which is then processed by low-power circuitry into a digital value stream. the data is then stored in an output register that is read by an i 2 c interface. two types of photodiodes are used in the device: a green photodiode and an infrared photodiode. ambient light sensing is accomplished by subtracting the green als photodiode signal and the infrared als photodiode signals, after applying appropriate gains. the photodiodes are connected to two adcs. the user can choose to view either just the green als signal, or just the infrared als signal, or the difference of the green and infrared als photodiodes. two key features of the device?s analog design are its low-power design and interrupt pin operation. the device can operate from a v dd of 1.7v to 3.6v and consumes just 5 f a current. an on-chip programmable interrupt function eliminates the need to continually poll the device for data, resulting in a significant power saving. ambient-light sensing ambient-light sensors are designed to dete ct bright - ness in the same way as human eyes do. to achieve this, the light sensor needs to have a spectral sensitivity that is identical to the photopic curve of the human eye ( figure 1 ). small deviations from the photopic curve can affect perceived brightness by ambient light sensors to be wildly different. however, there are practical difficulties in trying to reproduce the ideal photopic curve in a small cost-efficient package. the devices instead use two types of photodiodes (green and infrared) that have different spectral sensitivities?each of which is amplified and subtracted on-chip with suitable gain coefficients so that the most extreme light sources (fluo - rescent and incandescent) are well matched to a com - mercial illuminance lux meter.the photopic curve represents a typical human eye?s sensitivity to different wavelengths of light. as can be seen in figures 1 and 2 , its peak sensitivity is at 555nm (green). the human eye is insensitive to infrared (> 700nm) and ultraviolet (< 400nm) radiation. variation between light sources can extend beyond the visible spectral range?fluorescent and incandescent light sources, for example?with similar visible brightness (lux) and can have substantially different ir radiation con - tent (since the human eye is blind to it). since this infrared radiation can be picked up by silicon photodiodes, differ - ences in light spectra can affect brightness measurement of light sensors. for example, light sources with high ir content such as an incandescent bulb or sunlight could suggest a much brighter environment than our eyes would perceive them to be. other light sources, such as fluo - rescent and led-based systems, have very little infrared content. the devices incorporate on-chip compensation techniques to minimize these effects and still output an accurate lux response in a variety of lighting conditions. on-chip, user-programmable green channel and ir channel gain trim registers allow the light-sensor response to be tailored to the application, such as when the light sensor is placed under a dark or colored glass. figure 1. max44004 spectral response compared to ideal photopic curve figure 2. green channel and ir channel response at identical gains on a typical max44004 wavelength (nm) normalized response 970 870 770 670 570 470 370 20 40 60 80 100 120 0 270 1070 standard als(green-red) blue: idealphotopic curve wavelength (nm) normalized output 970 870 770 670 570 470 370 20 40 60 80 100 120 0 270 1070 green channelred channel ideal photopic curve downloaded from: http:///
7 max44004 digital ambient light sensor register description table 1 is the register description. the individual register bits are explained in table 2 . default power-up bit states are highlighted in bold. interrupt status 0x00 the pwron bit in the status register 0x00, if set, indicates that a power-on-reset (por) condition has occurred, and any user-programmed thresholds may not be valid anymore. the alsints bit in the status register 0x00 indicates that an ambient-light-interrupt condition has occurred. if any of these bits are set to 1, the int pin is pulled low and is asserted. see table 2. reading the interrupt status register clears the pwron and alsints bits if set, and deasserts the int pin (i.e., int is pulled high by the off-chip pullup resistor). the alsints bit is disabled and set to 0 if the alsinte interrupt enable bit in register 0x01 is set to 0. table 1. component listtable 2. interrupt status register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w statusinterrupt status pwron alsints 0x00 0x04 r configuration main configuration trim mode[1:0] alsinte 0x01 0x24 r/w receiver configuration alstim[1:0] alspga[1:0] 0x02 0x00 r/w adc data adc high byte?als ofl alsdata[13:8] 0x04 0x00 r adc low byte?als alsdata[7:0] 0x05 0x00 r threshold setals upper threshold?high byte upthr [13:8] 0x06 0x00 r/w als upper threshold?low byte upthr[7:0] 0x07 0x00 r/w als lower threshold?high byte lothr[13:8] 0x08 0x00 r/w als lower threshold?low byte lothr [7:0] 0x09 0x00 r/w threshold persist timer alspst[1:0] 0x0a 0x00 r/w digital gain trim of green channel trim _gain_green [6:0] trim_gain_ir [0] 0x0f 0x80 r/tw digital gain trim of infrared channel trim _gain_ir [8:1] 0x10 0x80 r/tw register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w interrupt status pwron alsints 0x00 0x04 r downloaded from: http:///
8 max44004 digital ambient light sensor ambient interrupt status (alsints) the individual alsints register bits are explained in table 3 . power-on reset status (pwron) the individual power-on reset status (pwron) register bits are explained in table 4 . main configuration 0x01 the individual main configuration register bits are explained in table 5 . this register is used to set the operating mode of the ic and to enable interrupt operation of the device. trim the individual trim register bits are explained in table 6 . the individual register bits are explained in table 7 . table 3. ambient interrupt status (alsints)table 4. power-on reset status (pwron) table 5. main configuration (0x01) table 6. trim bit0 operation 0 no interrupt trigger event has occurred. 1 the ambient light intensity has traversed outside the designated window limits defined by the threshold registers for greater than persist timer count alspst[1:0], or an overflow condition in the ambient-light readings has occurred. this bit also causes the int pin to be pulled low. once set, the only way to clear this bit is to read this register or to set the alsinte bit in register 0x01 to 0. bit2 operation 0 no interrupt trigger event has occurred. 1 the part went through a power-up event, either because the part was turned on, or because there was a power-supply voltage glitch. all interrupt threshold settings in the registers have been reset to a default state, and should be examined. a 1 on this bit also causes the int pin to be pulled low. once this bit is set, the only way to clear this bit is to read this register. register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w main configuration trim mode[1:0] alsinte 0x01 0x24 r/w bit 5 operation 0 use bytes written to trim_gain_green[6:0] and trim_gain_ir[8:0] registers to set the fine-trim gain of the green and ir gain channels. 1 use factory-programmed gains for green and ir channels. ignore bytes written to trim_gain_green[6:0] and trim_gain_ir[8:0] registers. downloaded from: http:///
9 max44004 digital ambient light sensor ambient interrupt enable (alsinte) the individual ambient interrupt enable bits are explained in table 8 . receive configuration 0x02 table 9 explains receive configuration 0x02. this register sets the adc integration time and front-end photodiode circuitry sensitivity (gain). the adc integra - tion time also controls the bit resolution of measurements. adc conversions of msb are made first (the device needs longer conversion times for higher resolution mea - surements, i.e., lsbs). use of lower pga gains helps expand the full-scale range of the adc at the expense of per-lsb sensitivity. ambient adc conversion time (alstim) the 2 bits alstim [1:0] set the integration time for als adc conversion, as shown in table 10 . table 7. individual register bitstable 8. ambient interrupt enable table 10. alstim integration time for adc conversions table 9. receive configuration (0x02) note: 100 ? 111 are reserved. do not use. mode[1:0] operating mode operation 00 shutdown analog circuits are shut down, but digital register retains values. 01 als g-ir standard als mode?stores difference between green and infrared channel readings. 10 als g als green channel only. 11 als ir infrared channel only. bit0 operation 0 the alsints bit remains unasserted; als channel readings are not compared with interrupt thresholds. 1 detection of an ambient-light interrupt event triggers a hardware interrupt (int pin is pulled low) and sets the alsints bit (register 0x00, b0). als channel readings are compared with als interrupt threshold settings and als persist timer. register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w receive configuration alstim[1:0] alsinte 0x02 0x00 r/w alstim[1:0] integration time (ms) full-scale adc counts bit resolution relative lsb size 00 100 16,384 14 1x 01 25 4096 12 4x 10 6.25 1024 10 16x 11 1.5625 256 8 64x downloaded from: http:///
10 max44004 digital ambient light sensor ambient light measurement gain (alspga) the 2 bits alspga [1:0] set the gain of the ambient-light sensing measurement according to table 11 . als data register (0x04, 0x05) the 2 bytes here (alsdata[13:0]) hold the results of als signal conversion. the resolution and bit length of the result is controlled by the value of the alstim[1:0] and alspga[1:0] bits. the result is always right justified in the two registers, and the unused high bits are zero. see table 12 . ofl indicates an overflow condition on the als chan - nel. if this occurs, set the als range (alspga[1:0]) to a higher range (lower sensitivity). if the ofl bit is set to 1 (there is an overflow condition), and the alsinte bit is set to 1 (enabled), then the alsints bit is set to 1 and the int pin is pulled low. the data in this register could be either the green chan - nel, infrared channel, or als readings (green channel, infrared channel readings), depending on the mode selected by the user. internal update of these two registers is disabled dur - ing i 2 c read operations to ensure proper data handoff between the adc and the i 2 c registers. update of the i 2 c registers is resumed once the master sends a stop command. therefore, when reading the 2 bytes of this register, the master should not send a stop command between the 2-byte reads. instead, a repeated start command should be used. the exact read sequence using the repeated start command is shown in the i 2 c serial interface section. table 12. als data register (0x04, 0x05) table 11. ambient light measurement gain (alspga)table 13. als interrupt threshold registers (0x06?0x09) register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w adc high byte?als ofl alsdata[13:8] 0x04 0x00 r adc low byte?als alsdata[7:0] 0x05 0x00 r register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w als upper threshold?high byte upthr [13:8] 0x06 0x00 r/w als upper threshold?low byte upthr [7:0] 0x07 0x00 r/w als lower threshold? high byte lothr[13:8] 0x08 0x00 r/w als lower threshold?low byte lothr [7:0] 0x09 0x00 r/w alspga[1:0] lux/lsb relative lsb size 00 0.03125 1x 01 0.125 4x 10 0.5 16x 11 4 128x downloaded from: http:///
11 max44004 digital ambient light sensor als interrupt threshold registers (0x06-0x09) als interrupt threshold registers (0x06-0x09) are explained in table 13 . the als upper threshold and als lower threshold (upthr[13:0] and lothr[13:0]) set the window limits that are used to trigger an als interrupt. it is important to set these values according to the selected bit resolu - tion/integration time chosen for the als measurement based on the alstim[1:0] and alspga[1:0] settings. the upper 2 bits are always ignored. if the inte bit is set, and the lux level is greater or lower than the respective thresholds for a period greater than that defined by the alspst persist time, the ints bit in the status register are set and the int pin is pulled low. threshold persist timer register (0x0a) the max44004 incorporates a persist function that allows users to set the number of consecutive triggers before inter - rupt. the threshold persist timer register is explained in table 14 . alspst[1:0] sets one of four persist values that controls how readily the interrupt logic reacts to a detected event. this feature is useful in reducing false or nuisance interrupts due to optical noise/minor disturbances. see tabl e 15 . when alspst[1:0] is set to 00, and the alsinte bit is set to 1, the first time an als interrupt event is detected, the alsinte interrupt bit is set and the int pin goes low. if alspst[1:0] is set to 01, then four consecutive interrupt events must be detected on four consecutive measure - ment cycles. similarly, if alspst[1:0] is set to 10 or 11, then 8 or 16 consecutive interrupts must be detected before the int pin is pulled low. if there is an intervening measurement cycle where no interrupt is detected, then the count is reset to zero. digital gain trim registers (0x0f, 0x10) digital gain trim registers are described in table 16 . trim_gain_green [6:0] is used to modify the gain of the green channel. trim_gain_ir [8:0] is used to modify the gain of the ir channel. to tell the part to use the values written to this register, set the trimb bit to 0 in the main configuration register after writing new values to these registers. table 14. threshold persist timer register (0x0a)table 15. apspt [1:0] table 16. digital gain trim registers (0x0f, 0x10) note 1: values read from the trim_gain registers are the complement of the written value. this is true for reading both the factory- programmed values and the customer-programmed values. register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w threshold persist timer alspst[1:0] 0x0a 0x00 r/w alspst[1:0] no. of consecutive triggers before an interrupt 00 1 01 2 10 4 11 16 register bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 register address power- on reset state r/w digital gain trim of green channel trim _gain_green [6:0] trim_gain_ir 0x0f 0x80 r/tw digital gain trim of infrared channel trim _gain_ir [8:1] 0x10 0x80 r/tw downloaded from: http:///
12 max44004 digital ambient light sensor applications information ambient-sensing applications typical applications involve placing the device behind a glass with a small semitransparent window above it. use the photodiode-sensitive area as shown in figure 3 to properly position the window above the part.the part comes equipped with internal gain trim regis - ters for the green and ir als photodiodes. by suitably choosing the gains for these channels, accurate ambient light readings can be generated in all lighting conditions regardless of the type of glass/ink under which the part is used. this is especially useful for black glass applica - tions where, for cosmetic reasons, the part is placed behind a black film to hide its presence, and this film has the peculiar property of attenuating most ambient light, but passing through ir radiation. in standard als mode, the green channel and infrared channel readings are internally subtracted. since one is observing only the difference is observed in two separate adc measurements, wrong readings can be obtained if one of the channels becomes saturated, while the other channel continues to rise. since the green photodiode also picks up a lot of the infrared signal, this saturation can occur earlier than before the maximum expected full-scale lux, depending on lighting conditions. for exam - ple, under incandescent light, there is a lot more infrared optical power than in the visible spectral range. in these situations, the green channel can saturate much earlier than 511 lux in the most sensitive range. to assist the user in detecting these conditions, an ofl bit is provided that alerts the user of an overrange condition. this bit also triggers an als interrupt if it has been enabled. typical operating sequence the typical operating sequence for the master to com - municate to the device on first power-up is shown below:1) setup: a) read the interrupt status register (0x00) to confirm only the pwron bit is set. this also clears a hardware interrupt. b) set threshold and persist timer registers (regis - ters 0x06?0x0c). c) write 0x00 to the receiver configuration register (register 0x02) to set the als sensor in the highest gain setting, and in 14-bit modes of operation. d) write 0x05 to the main configuration register (register 0x01) to set the part in als mode and to enable als interrupt. e) set new green channel gains and ir channel gains, if necessary, to customize als operation for application conditions. ensure the trim bit is set to 0 when not using default factory-trim settings. 2) wait for interrupt. 3) on interrupt: a) read the interrupt status register (0x00) to confirm the device to be the source of interrupt, and to check for type of interrupt. this should clear the hardware interrupt on the part, if set. b) if an als interrupt has occurred, read als adc registers (register 0x04?0x05) to confirm if data is valid (i.e., ofl = 0), and take appropriate action (e.g., set new backlight strength). set new als thresholds, if necessary. c) retu rn to step 2. figure 3. max44004 photodiode location max44004 top view 2mm 2mm 0.753mm 1.226mm 0.39mm 0.492mm a0 3 1 v cc 2 5s cl 6 sda gnd photo- diode 4 int downloaded from: http:///
13 max44004 digital ambient light sensor i 2 c serial interface the device features an i 2 c/smbus k -compatible, 2-wire serial interface consisting of a serial data line (sda) and a serial clock line (scl). sda and scl facilitate com - munication between the device and the master at clock rates up to 400khz. figure 4 shows the 2-wire interface timing diagram. the master generates scl and initiates data transfer on the bus. a master device writes data to the device by transmitting the proper slave address fol - lowed by the register address and then the data word. each transmit sequence is framed by a start (s) or repeated start (sr) condition and a stop (p) condi - tion. each word transmitted to the device is 8 bits long and is followed by an acknowledge clock pulse. a master reading data from the device transmits the proper slave address followed by a series of nine scl pulses. the ic transmits data on sda in sync with the master-generated scl pulses. the master acknowledges receipt of each byte of data. each read sequence is framed by a start or repeated start condition, a not acknowledge, and a stop condition. sda operates as both an input and an open-drain output. a pullup resistor, typically greater than 500 i , is required on the sda bus. scl operates as only an input. a pullup resistor, typically greater than 500 i , is required on scl if there are multiple masters on the bus, or if the master in a single-master system has an open- drain scl output. series resistors in line with sda and scl are optional. series resistors protect the digital inputs of the device from high-voltage spikes on the bus lines, and minimize crosstalk and undershoot of the bus signal. bit transfer one data bit is transferred during each scl cycle. the data on sda must remain stable during the high period of the scl pulse. changes in sda while scl is high are control signals. see the start and stop conditions section. sda and scl idle high when the i 2 c bus is not busy. table 17. slave addressfigure 4. 2-wire interface timing diagram smbus is a trademark of motorola corp. a0 slave address gnd 0x94 v dd 0x96 scl sda start condition stop condition repeated start condition start condition t hd, sta t su, sta t hd, sta t sp t buf t su, sto t low t su, dat t hd, dat t high t r t f downloaded from: http:///
14 max44004 digital ambient light sensor start and stop conditions sda and scl idle high when the bus is not in use. a mas - ter initiates communication by issuing a start condition. a start condition is a high-to-low transition on sda with scl high. a stop condition is a low-to-high transition on sda while scl is high ( figure 5 ). a start condition from the master signals the beginning of a transmission to the device. the master terminates transmission, and frees the bus by issuing a stop condition. the bus remains active if a repeated start condition is generated instead of a stop condition. early stop conditions the device recognizes a stop condition at any point during data transmission, except if the stop condition occurs in the same high pulse as a start condition. for proper operation, do not send a stop condition during the same scl high pulse as the start condition. acknowledge the acknowledge bit (ack) is a clocked 9th bit that the device uses to handshake receipt of each byte of data when in write mode ( figure 6 ). the device pulls down sda during the entire master-generated 9th clock pulse if the previous byte is successfully received. monitoring ack allows for detection of unsuccessful data transfers. an unsuccessful data transfer occurs if a receiving device is busy or if a system fault has occurred. in the event of an unsuccessful data transfer, the bus master may retry communication. the master pulls down sda during the 9th clock cycle to acknowledge receipt of data when the device is in read mode. an acknowledge is sent by the master after each read byte to allow data transfer to continue. a not acknowledge is sent when the master reads the final byte of data from the device, followed by a stop condition. write data format a write to the device includes transmission of a start condition, the slave address with the r/ w bit set to 0, 1 byte of data to configure the internal register address pointer, 1 or more bytes of data, and a stop condition. figure 7 illustrates the proper frame format for writing 1 byte of data to the device. figure 8 illustrates the frame format for writing n bytes of data to the device.the slave address with the r/ w bit set to 0 indicates that the master intends to write data to the device. the device acknowledges receipt of the address byte during the master-generated 9th scl pulse. figure 7. writing 1 byte of data to the max44004 figure 5. start, stop, and repeated start conditions figure 6. acknowledge scl sda ss rp 1 scl start condition sda 28 9 clock pulse for acknowledgment acknowledge not acknowledge a 0 slave address register address data byte acknowledge from max44004 r/w 1 byte acknowledge from max44004 acknowledge from max44004 b1 b0 b3 b2 b5 b4 b7 b6 s a a p downloaded from: http:///
15 max44004 digital ambient light sensor the second byte transmitted from the master configures the device?s internal register address pointer. the pointer tells the device where to write the next byte of data. an acknowledge pulse is sent by the device upon receipt of the address pointer data. the third byte sent to the device contains the data that is written to the chosen register. an acknowledge pulse from the device signals receipt of the data byte. read data format send the slave address with the r/ w bit set to 1 to initi - ate a read operation. the device acknowledges receipt of its slave address by pulling sda low during the 9th scl clock pulse. a start command followed by a read command resets the address pointer to register 0x00. the first byte transmitted from the device is the contents of register 0x00. transmitted data is valid on the rising edge of the master-generated serial clock (scl). the address pointer does not autoincrement after each read data byte. a stop condition can be issued after any number of read data bytes. if a stop condition is issued followed by another read operation, the first data byte to be read is from register 0x00 and subsequent reads autoincrement the address pointer until the next stop condition. the address pointer can be preset to a specific register before a read command is issued. the master presets the address pointer by first sending the device?s slave address with the r/ w bit set to 0 followed by the register address. a repeated start condition is then sent, fol - lowed by the slave address with the r//w bit set to 1. the device transmits the contents of the specified register. attempting to read from register addresses higher than 0xff results in repeated reads of 0xff. note that 0xf6 to 0xff are reserved registers. the master acknowledges receipt of each read byte during the acknowledge clock pulse. the master must acknowl - edge all correctly received bytes except the last byte. the final byte must be followed by a not acknowledge from the master and then a stop condition. figure 8 illustrates the frame format for reading 1 byte from the device. figure 9 illustrates the frame format for reading two registers con - secutively without a stop condition in between reads. figure 9. reading two registers consecutively without a stop condition in between reads figure 8. reading 1 byte of data from the max44004 acknowledge from max44004 1 byte acknowledge from max44004 not acknowledge from master a a sr not acknowledge from master a 0 acknowledge from max44004 r/w sa r/w repeated start sr 1 slave address register address 1 slave address data byte 1 acknowledge from max44004 1 byte acknowledge from max44004 a a ap 0 acknowledge from max44004 r/w a s r/w repeated start sr 1 slave address register address 2 slave address data byte 2 acknowledge from max44004 1 byte acknowledge from max44004 not acknowledge from master a a p a 0 acknowledge from max44004 r/w sa r/w repeated start sr 1 slave address register address slave address data byte downloaded from: http:///
16 max44004 digital ambient light sensor ordering information package information for the latest package outline information and land patterns (footprints), go to www.maxim-ic.com/packages . note that a ?+?, ?#?, or ?-? in the package code indicates rohs status only. package drawings may show a different suffix character, but the drawing pertains to the package regardless of rohs status. part temp range pin-package MAX44004GDT+ -40 n c to +105 n c 6 otdfn package type package code outline no. land pattern no. 6 otdfn d622n+2 21-0490 90-0344 + denotes a lead(pb)-free/rohs-compliant package. downloaded from: http:///
maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a maxim product. no circuit patent licenses are implied. maxim reserves the right to change the circuitry and specifications without notice at any time. maxim integrated products, 160 rio robles drive, san jose, ca 95134 408-601-1000 17 ? 2012 maxim integrated products maxim is a registered trademark of maxim integrated products, inc. max44004 digital ambient light sensor revision history revision number revision date description pages changed 0 5/12 initial release ? downloaded from: http:///


▲Up To Search▲   

 
Price & Availability of MAX44004GDT

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X